<template>
    <div class="slotOne1">
        <div class="wrap" id="wrap">
        <div
          style="height:52px; width:112px; background:url('./static/images/logo.png');float:left;margin-top:15px;margin-left:300px;"
        ></div>
        <div class="wright">
          <!--全部商品分类start-->
          <div class="goods">
            <div class="hc_lnav">
              <form target="_blank" action="/search" accept-charset="UTF-8" method="get">
                <el-input v-model="searchInfo" placeholder="请输入内容" suffix-icon="el-icon-search" class="search"></el-input>
              </form>
            </div>
          </div>
          <!--全部商品分类end-->
          <ul class="nav-list">
            <li>
              <a href="/indexPage">首 页</a>
            </li>
            <li>
              <a href="/loginPage" id="loginout">{{ username }}>>退出登录</a>
            </li>
          </ul>
        </div>
      </div>
    </div>
</template>
<script>
export default {
    data() {
      return {
        searchInfo:null,
        username:null
      }
    },
    mounted() {
      this.inss();
    },
    methods: {
      inss(){
        this.username = this.$session.get("username")
      }
    },
}
</script>